/**
 * Created by Administrator on 2016/6/27 0027.
 */
$(document).ready(function(){
    var w;
    if($(window).width()<1280){
        w = 1280
    }else {
        w=$(window).width();
    }
    var h = $(window).width()/2.15;
    if($(window).height()<h){
        $("body").height(h);
    }else {
        $("body").height($(window).height());
    }
});
$(window).resize(function(){
    var w;
    if($(window).width()<1280){
        w = 1280
    }else {
        w=$(window).width();
    }
    var h = w/2.15;
    if($(window).height()<h){
        $("body").height(h);
    }else {
        $("body").height($(window).height());
    }
});